<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" type="text/css" media="screen,print" href="bootstrap.min.css">
</head>
<body>

<!--// 打印区域：-->
<div id="print_box">

     <div>

     </div>

    <table class="table table-hover">
        <tr>
            <td> 序号</td>
            <td>订单编号</td>
            <td>商品名称</td>
            <td>商品价格</td>
            <td>商品规格</td>
            <td>商品单位</td>
            <td>商品数量</td>
            <td>收货人</td>
            <td>联系电话</td>
            <td>收货地址</td>
        </tr>
        <tr>
            <td> 01</td>
            <td>020190124123698756001</td>
            <td>商品名称商品名称商品名称商品名称商品名称</td>
            <td>25.3</td>
            <td>25ml</td>
            <td>件</td>
            <td>25</td>
            <td>欧阳凡</td>
            <td>18258193155</td>
            <td>浙江省杭州市萧山区1152好</td>
        </tr>
        <tr>
            <td> 01</td>
            <td>020190124123698756001</td>
            <td>商品名称商品名称商品名称商品名称商品名称</td>
            <td>25.3</td>
            <td>25ml</td>
            <td>件</td>
            <td>25</td>
            <td>欧阳凡</td>
            <td>18258193155</td>
            <td>浙江省杭州市萧山区1152好</td>
        </tr>

        <tr>
            <td> 01</td>
            <td>020190124123698756001</td>
            <td>商品名称商品名称商品名称商品名称商品名称</td>
            <td>25.3</td>
            <td>25ml</td>
            <td>件</td>
            <td>25</td>
            <td>欧阳凡</td>
            <td>18258193155</td>
            <td>浙江省杭州市萧山区1152好</td>
        </tr>
        <tr>
            <td> 01</td>
            <td>020190124123698756001</td>
            <td>商品名称商品名称商品名称商品名称商品名称</td>
            <td>25.3</td>
            <td>25ml</td>
            <td>件</td>
            <td>25</td>
            <td>欧阳凡</td>
            <td>18258193155</td>
            <td>浙江省杭州市萧山区1152好</td>
        </tr> <tr>
        <td> 01</td>
        <td>020190124123698756001</td>
        <td>商品名称商品名称商品名称商品名称商品名称</td>
        <td>25.3</td>
        <td>25ml</td>
        <td>件</td>
        <td>25</td>
        <td>欧阳凡</td>
        <td>18258193155</td>
        <td>浙江省杭州市萧山区1152好</td>
    </tr> <tr>
        <td> 01</td>
        <td>020190124123698756001</td>
        <td>商品名称商品名称商品名称商品名称商品名称</td>
        <td>25.3</td>
        <td>25ml</td>
        <td>件</td>
        <td>25</td>
        <td>欧阳凡</td>
        <td>18258193155</td>
        <td>浙江省杭州市萧山区1152好</td>
    </tr> <tr>
        <td> 01</td>
        <td>020190124123698756001</td>
        <td>商品名称商品名称商品名称商品名称商品名称</td>
        <td>25.3</td>
        <td>25ml</td>
        <td>件</td>
        <td>25</td>
        <td>欧阳凡</td>
        <td>18258193155</td>
        <td>浙江省杭州市萧山区1152好</td>
    </tr> <tr>
        <td> 01</td>
        <td>020190124123698756001</td>
        <td>商品名称商品名称商品名称商品名称商品名称</td>
        <td>25.3</td>
        <td>25ml</td>
        <td>件</td>
        <td>25</td>
        <td>欧阳凡</td>
        <td>18258193155</td>
        <td>浙江省杭州市萧山区1152好</td>
    </tr> <tr>
        <td> 01</td>
        <td>020190124123698756001</td>
        <td>商品名称商品名称商品名称商品名称商品名称</td>
        <td>25.3</td>
        <td>25ml</td>
        <td>件</td>
        <td>25</td>
        <td>欧阳凡</td>
        <td>18258193155</td>
        <td>浙江省杭州市萧山区1152好</td>
    </tr> <tr>
        <td> 01</td>
        <td>020190124123698756001</td>
        <td>商品名称商品名称商品名称商品名称商品名称</td>
        <td>25.3</td>
        <td>25ml</td>
        <td>件</td>
        <td>25</td>
        <td>欧阳凡</td>
        <td>18258193155</td>
        <td>浙江省杭州市萧山区1152好</td>
    </tr> <tr>
        <td> 01</td>
        <td>020190124123698756001</td>
        <td>商品名称商品名称商品名称商品名称商品名称</td>
        <td>25.3</td>
        <td>25ml</td>
        <td>件</td>
        <td>25</td>
        <td>欧阳凡</td>
        <td>18258193155</td>
        <td>浙江省杭州市萧山区1152好</td>
    </tr> <tr>
        <td> 01</td>
        <td>020190124123698756001</td>
        <td>商品名称商品名称商品名称商品名称商品名称</td>
        <td>25.3</td>
        <td>25ml</td>
        <td>件</td>
        <td>25</td>
        <td>欧阳凡</td>
        <td>18258193155</td>
        <td>浙江省杭州市萧山区1152好</td>
    </tr> <tr>
        <td> 01</td>
        <td>020190124123698756001</td>
        <td>商品名称商品名称商品名称商品名称商品名称</td>
        <td>25.3</td>
        <td>25ml</td>
        <td>件</td>
        <td>25</td>
        <td>欧阳凡</td>
        <td>18258193155</td>
        <td>浙江省杭州市萧山区1152好</td>
    </tr> <tr>
        <td> 01</td>
        <td>020190124123698756001</td>
        <td>商品名称商品名称商品名称商品名称商品名称</td>
        <td>25.3</td>
        <td>25ml</td>
        <td>件</td>
        <td>25</td>
        <td>欧阳凡</td>
        <td>18258193155</td>
        <td>浙江省杭州市萧山区1152好</td>
    </tr> <tr>
        <td> 01</td>
        <td>020190124123698756001</td>
        <td>商品名称商品名称商品名称商品名称商品名称</td>
        <td>25.3</td>
        <td>25ml</td>
        <td>件</td>
        <td>25</td>
        <td>欧阳凡</td>
        <td>18258193155</td>
        <td>浙江省杭州市萧山区1152好</td>
    </tr> <tr>
        <td> 01</td>
        <td>020190124123698756001</td>
        <td>商品名称商品名称商品名称商品名称商品名称</td>
        <td>25.3</td>
        <td>25ml</td>
        <td>件</td>
        <td>25</td>
        <td>欧阳凡</td>
        <td>18258193155</td>
        <td>浙江省杭州市萧山区1152好</td>
    </tr> <tr>
        <td> 01</td>
        <td>020190124123698756001</td>
        <td>商品名称商品名称商品名称商品名称商品名称</td>
        <td>25.3</td>
        <td>25ml</td>
        <td>件</td>
        <td>25</td>
        <td>欧阳凡</td>
        <td>18258193155</td>
        <td>浙江省杭州市萧山区1152好</td>
    </tr> <tr>
        <td> 01</td>
        <td>020190124123698756001</td>
        <td>商品名称商品名称商品名称商品名称商品名称</td>
        <td>25.3</td>
        <td>25ml</td>
        <td>件</td>
        <td>25</td>
        <td>欧阳凡</td>
        <td>18258193155</td>
        <td>浙江省杭州市萧山区1152好</td>
    </tr> <tr>
        <td> 01</td>
        <td>020190124123698756001</td>
        <td>商品名称商品名称商品名称商品名称商品名称</td>
        <td>25.3</td>
        <td>25ml</td>
        <td>件</td>
        <td>25</td>
        <td>欧阳凡</td>
        <td>18258193155</td>
        <td>浙江省杭州市萧山区1152好</td>
    </tr>
        <tr>
            <td> 01</td>
            <td>020190124123698756001</td>
            <td>商品名称商品名称商品名称商品名称商品名称</td>
            <td>25.3</td>
            <td>25ml</td>
            <td>件</td>
            <td>25</td>
            <td>欧阳凡</td>
            <td>18258193155</td>
            <td>浙江省杭州市萧山区1152好</td>
        </tr> <tr>
        <td> 01</td>
        <td>020190124123698756001</td>
        <td>商品名称商品名称商品名称商品名称商品名称</td>
        <td>25.3</td>
        <td>25ml</td>
        <td>件</td>
        <td>25</td>
        <td>欧阳凡</td>
        <td>18258193155</td>
        <td>浙江省杭州市萧山区1152好</td>
    </tr> <tr>
        <td> 01</td>
        <td>020190124123698756001</td>
        <td>商品名称商品名称商品名称商品名称商品名称</td>
        <td>25.3</td>
        <td>25ml</td>
        <td>件</td>
        <td>25</td>
        <td>欧阳凡</td>
        <td>18258193155</td>
        <td>浙江省杭州市萧山区1152好</td>
    </tr> <tr>
        <td> 01</td>
        <td>020190124123698756001</td>
        <td>商品名称商品名称商品名称商品名称商品名称</td>
        <td>25.3</td>
        <td>25ml</td>
        <td>件</td>
        <td>25</td>
        <td>欧阳凡</td>
        <td>18258193155</td>
        <td>浙江省杭州市萧山区1152好</td>
    </tr> <tr>
        <td> 01</td>
        <td>020190124123698756001</td>
        <td>商品名称商品名称商品名称商品名称商品名称</td>
        <td>25.3</td>
        <td>25ml</td>
        <td>件</td>
        <td>25</td>
        <td>欧阳凡</td>
        <td>18258193155</td>
        <td>浙江省杭州市萧山区1152好</td>
    </tr> <tr>
        <td> 01</td>
        <td>020190124123698756001</td>
        <td>商品名称商品名称商品名称商品名称商品名称</td>
        <td>25.3</td>
        <td>25ml</td>
        <td>件</td>
        <td>25</td>
        <td>欧阳凡</td>
        <td>18258193155</td>
        <td>浙江省杭州市萧山区1152好</td>
    </tr> <tr>
        <td> 01</td>
        <td>020190124123698756001</td>
        <td>商品名称商品名称商品名称商品名称商品名称</td>
        <td>25.3</td>
        <td>25ml</td>
        <td>件</td>
        <td>25</td>
        <td>欧阳凡</td>
        <td>18258193155</td>
        <td>浙江省杭州市萧山区1152好</td>
    </tr> <tr>
        <td> 01</td>
        <td>020190124123698756001</td>
        <td>商品名称商品名称商品名称商品名称商品名称</td>
        <td>25.3</td>
        <td>25ml</td>
        <td>件</td>
        <td>25</td>
        <td>欧阳凡</td>
        <td>18258193155</td>
        <td>浙江省杭州市萧山区1152好</td>
    </tr> <tr>
        <td> 01</td>
        <td>020190124123698756001</td>
        <td>商品名称商品名称商品名称商品名称商品名称</td>
        <td>25.3</td>
        <td>25ml</td>
        <td>件</td>
        <td>25</td>
        <td>欧阳凡</td>
        <td>18258193155</td>
        <td>浙江省杭州市萧山区1152好</td>
    </tr> <tr>
        <td> 01</td>
        <td>020190124123698756001</td>
        <td>商品名称商品名称商品名称商品名称商品名称</td>
        <td>25.3</td>
        <td>25ml</td>
        <td>件</td>
        <td>25</td>
        <td>欧阳凡</td>
        <td>18258193155</td>
        <td>浙江省杭州市萧山区1152好</td>
    </tr> <tr>
        <td> 01</td>
        <td>020190124123698756001</td>
        <td>商品名称商品名称商品名称商品名称商品名称</td>
        <td>25.3</td>
        <td>25ml</td>
        <td>件</td>
        <td>25</td>
        <td>欧阳凡</td>
        <td>18258193155</td>
        <td>浙江省杭州市萧山区1152好</td>
    </tr> <tr>
        <td> 01</td>
        <td>020190124123698756001</td>
        <td>商品名称商品名称商品名称商品名称商品名称</td>
        <td>25.3</td>
        <td>25ml</td>
        <td>件</td>
        <td>25</td>
        <td>欧阳凡</td>
        <td>18258193155</td>
        <td>浙江省杭州市萧山区1152好</td>
    </tr> <tr>
        <td> 01</td>
        <td>020190124123698756001</td>
        <td>商品名称商品名称商品名称商品名称商品名称</td>
        <td>25.3</td>
        <td>25ml</td>
        <td>件</td>
        <td>25</td>
        <td>欧阳凡</td>
        <td>18258193155</td>
        <td>浙江省杭州市萧山区1152好</td>
    </tr> <tr>
        <td> 01</td>
        <td>020190124123698756001</td>
        <td>商品名称商品名称商品名称商品名称商品名称</td>
        <td>25.3</td>
        <td>25ml</td>
        <td>件</td>
        <td>25</td>
        <td>欧阳凡</td>
        <td>18258193155</td>
        <td>浙江省杭州市萧山区1152好</td>
    </tr> <tr>
        <td> 01</td>
        <td>020190124123698756001</td>
        <td>商品名称商品名称商品名称商品名称商品名称</td>
        <td>25.3</td>
        <td>25ml</td>
        <td>件</td>
        <td>25</td>
        <td>欧阳凡</td>
        <td>18258193155</td>
        <td>浙江省杭州市萧山区1152好</td>
    </tr> <tr>
        <td> 01</td>
        <td>020190124123698756001</td>
        <td>商品名称商品名称商品名称商品名称商品名称</td>
        <td>25.3</td>
        <td>25ml</td>
        <td>件</td>
        <td>25</td>
        <td>欧阳凡</td>
        <td>18258193155</td>
        <td>浙江省杭州市萧山区1152好</td>
    </tr>



    </table>
</div>
<!--// 调用打印-->
<button id="test">打印2</button>


<script src="jquery-3.3.1.js"></script>
<script src="jquery-migrate-1.2.1.min.js"></script>
<script language="javascript" src="jquery.jqprint-0.3.js"></script>
<script>


    document.title = '未来商城';
    $(document).ready(function () {
        $("#test").click(function () {
            $("#print_box").jqprint({
                debug: false, //如果是true则可以显示iframe查看效果（iframe默认高和宽都很小，可以再源码中调大），默认是false
                importCSS: true, //true表示引进原来的页面的css，默认是true。（如果是true，先会找$("link[media=print]")，若没有会去找$("link")中的css文件）
                printContainer: true, //表示如果原来选择的对象必须被纳入打印（注意：设置为false可能会打破你的CSS规则）。
                operaSupport: true//表示如果插件也必须支持歌opera浏览器，在这种情况下，它提供了建立一个临时的打印选项卡。默认是true
            });
        });
    });
</script>
</body>
</html>